//
//  ReportParamInfo.m
//  KIASupervisory
//
//  Created by tan_xin on 14-8-18.
//  Copyright (c) 2014年 MyCompany. All rights reserved.
//

#import "ReportParamInfo.h"

static ReportParamInfo *paramInfo = nil;

@interface ReportParamInfo ()

@property (nonatomic, strong) NSMutableArray *depts;
@property (nonatomic, strong) NSMutableArray *names;
@property (nonatomic, strong) NSMutableArray *gonghaos;

@end

@implementation ReportParamInfo

+ (id)instance {
    if (paramInfo == nil) {
        paramInfo = [[ReportParamInfo alloc] init];
    }
    
    return paramInfo;
}

- (id)init {
    self = [super init];
    if (self) {
        _depts = [[NSMutableArray alloc] init];
        _names = [[NSMutableArray alloc] init];
        _gonghaos = [[NSMutableArray alloc] init];
    }
    return self;
}

- (void)setDeptList:(NSArray *)deptArr {
    _depts = [NSMutableArray arrayWithArray:deptArr];
}

- (void)setNameList:(NSArray *)nameArr {
    _names = [NSMutableArray arrayWithArray:nameArr];
}

- (void)setGonghaoList:(NSArray *)ghArr {
    _gonghaos = [NSMutableArray arrayWithArray:ghArr];
}

//职位列表
- (NSMutableArray *)deptList {
    return paramInfo.depts;
}

//督导姓名列表
- (NSMutableArray *)dudaoNameList {
    return paramInfo.names;
}

//督导工号列表
- (NSMutableArray *)dudaoGhList {
    return paramInfo.gonghaos;
}

@end
